

#ifndef _SHELL_REQCREATESELFKUNGFU_MESSAGE_H_
#define _SHELL_REQCREATESELFKUNGFU_MESSAGE_H_

#include "Message.h"
#include "Beans.h"
using namespace std;

class ReqCreateSelfKungfuMessage : public Message
{
	public:
	ReqCreateSelfKungfuMessage();
	~ReqCreateSelfKungfuMessage();
	void reset();
	ReqCreateSelfKungfuMessage* clone();
	static const int _ID;
	//功夫名字
	std::string kungFuName;
	//伤害类型普通0,徒手1,武器2,内功3,奇术4
	int32 dametype;
	//功夫类型
	int32 kungFuStyle;
	
	bool read_from(ByteBuf& buf);
    bool write_to(ByteBuf& buf);
    int getId();
};

#endif
